package dto;

import java.io.Serializable;
import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean(name="templateDTO")
@SessionScoped
public class TemplateDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private int duration;
	private String title;
	private List<InterviewDTO> interviews;
	private List<TemplateCategoryDTO> templateCategories;
	
	public TemplateDTO(){} 

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public List<InterviewDTO> getInterviews() {
		return interviews;
	}

	public void setInterviews(List<InterviewDTO> interviews) {
		this.interviews = interviews;
	}

	public List<TemplateCategoryDTO> getTemplateCategories() {
		return templateCategories;
	}

	public void setTemplateCategories(List<TemplateCategoryDTO> templateCategories) {
		this.templateCategories = templateCategories;
	}
	
	
}
